README file for "Legislature Resizing with Rent-Seeking Politicians: The Impact of Executive-Legislature Coalitions"
Authors: Anderson Frey <anderson.frey@rochester.edu>

**** OPERATING SYSTEM ****
Microsoft Windows 11 Pro, version 10.0.22621

**** SOFTWARE ****
Results are replicable using R (version 4.2.1), and R studio (v. 2023.06.01).
Rpackages used: data.table, dplyr, rdrobust, lfe, ggplot2, stringr, gridExtra, rddensity, fastDummies, tidyr, boot, ggpubr 


Please set your working directory as the one in which this folder appears. 
to set the path type into R: setwd("PATH_NAME") 


**********************
TABLE OF CONTENTS
**********************

DATA FILES FOR PRODUCING FIGURES AND TABLES

	1. data_main.csv: 		main dataset used to produce most tables and figures in both the paper and the appendix -- observations are at the municipality level.
	2. data_reelection.csv: 	dataset used to produce Figure 1 in the article and Table A.7 in the appendix -- observations are at the councilor-municipality-election level.


		
R SCRIPT FILES 

	1. R_Article:    	Runs all tables and figures in the article. 
	2. R_Appendix:    	Runs all tables and figures in the online appendix.

	
Codebook

	Codebook.pdf: Includes the description of all variables in the data files listed in item 1, and their respective sources.
